package org.code.JucDataLearn.service.Impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.code.JucDataLearn.Mapper.UserMapper;
import org.code.JucDataLearn.pojo.User;
import org.code.JucDataLearn.service.UserService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @BelongsProject: learn-learning-everyday
 * @BelongsPackage: org.JucDataLearn.service.Impl
 * @Author: Chen Wei
 * @CreateTime: 2024-01-19  21:57
 * @Description: TODO
 * @Version: 1.0
 */
@SuppressWarnings("all")
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {


    @Override
    public void insertAllList(List<User> userList) {
        this.saveBatch(userList,2000);
    }
}
